package com.regex.web.service.community.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.regex.web.dao.community.ArticleCommentDAO;
import com.regex.web.entity.community.ArticleCommentDTO;
import com.regex.web.entity.community.ArticleCommentVO;
import com.regex.web.service.base.impl.BaseServiceImpl;
import com.regex.web.service.community.IArticleCommentService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author mhy
 * @since 2019-12-30
 */
@Service

public class ArticleCommentServiceImpl extends BaseServiceImpl<ArticleCommentDAO, ArticleCommentDTO> implements IArticleCommentService {

    @Override
    public List<ArticleCommentVO> getMyComment(Map<String, Object> map) {
        return baseMapper.getMyComment(map);
    }

    @Override
    public List<ArticleCommentDTO> getArticleCommentList(Map<String, Object> map) {
        return baseMapper.getArticleCommentList(map);
    }

    @Override
    public long getArticleCommentCount(Map<String, Object> map) {
        return baseMapper.getArticleCommentCount(map);
    }

}
